package com.fs.procure.pojo;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 采购订单管理对象 sto
 * 
 * @author ruoyi
 * @date 2024-08-15
 */
public class Sto
{
    private static final long serialVersionUID = 1L;

    /** 订单编号 */
    private Long stoProId;

    /** 供应商编号 */
    private Long supId;

    /** 支付类型 */
    private String stoPay;

    /** 进货时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date stoDate;

    /** 操作者编号 */
    private Long stoActor;

    /** 备注 */
    private String stoNote;

    /** 审批人编号 */
    private Long appMangerId;

    /** 审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date appPassdate;

    /** 订单状态 */
    private String stoState;

    /** 供应商信息 */
    private List<Sup> supList;

    public void setStoProId(Long stoProId) 
    {
        this.stoProId = stoProId;
    }

    public Long getStoProId() 
    {
        return stoProId;
    }
    public void setSupId(Long supId) 
    {
        this.supId = supId;
    }

    public Long getSupId() 
    {
        return supId;
    }
    public void setStoPay(String stoPay) 
    {
        this.stoPay = stoPay;
    }

    public String getStoPay() 
    {
        return stoPay;
    }
    public void setStoDate(Date stoDate) 
    {
        this.stoDate = stoDate;
    }

    public Date getStoDate() 
    {
        return stoDate;
    }
    public void setStoActor(Long stoActor) 
    {
        this.stoActor = stoActor;
    }

    public Long getStoActor() 
    {
        return stoActor;
    }
    public void setStoNote(String stoNote) 
    {
        this.stoNote = stoNote;
    }

    public String getStoNote() 
    {
        return stoNote;
    }
    public void setAppMangerId(Long appMangerId) 
    {
        this.appMangerId = appMangerId;
    }

    public Long getAppMangerId() 
    {
        return appMangerId;
    }
    public void setAppPassdate(Date appPassdate) 
    {
        this.appPassdate = appPassdate;
    }

    public Date getAppPassdate() 
    {
        return appPassdate;
    }
    public void setStoState(String stoState) 
    {
        this.stoState = stoState;
    }

    public String getStoState() 
    {
        return stoState;
    }

    public List<Sup> getSupList()
    {
        return supList;
    }

    public void setSupList(List<Sup> supList)
    {
        this.supList = supList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("stoProId", getStoProId())
            .append("supId", getSupId())
            .append("stoPay", getStoPay())
            .append("stoDate", getStoDate())
            .append("stoActor", getStoActor())
            .append("stoNote", getStoNote())
            .append("appMangerId", getAppMangerId())
            .append("appPassdate", getAppPassdate())
            .append("stoState", getStoState())
            .append("supList", getSupList())
            .toString();
    }
}
